package com.jiazhong.多态and转型.Test02;

public class Test {
    public static void main(String[] args) {
        A a=new A();
        System.out.println(a.Sum(10,20));
        System.out.println(a.Sum(10,20,30));
        B b=new B();
        a.Say();
        b.Say();
    }
}
